package test;

public class MI {

    public static void main(String[] args) {
        byte[] bytes = new byte[1024];
        int offset = 0;
        Double aFloat = new Double("4.89");
        Encoder.encode(aFloat, bytes, offset);

        Double df = Decoder.decodeDoubleObject(bytes, offset);
        System.out.println(df);

    }
}
